package singleton

import "sync"

type logger struct {
}

var (
	log  *logger
	once = sync.Once{}
)

func getInstance() *logger {
	once.Do(func() {
		log = &logger{}
	})
	return log
}
